let ModelB=(function(){
   //求平均值
   function average(...args){
     let sum=ModelA.sum(...args);
     return sum/args.length
   }

   return {
     average
   }
})()